<template>
  <div id="company">
    <!-- 循环结构 -->
    <div class="ziCompany" @click="goStyle">
      <div class="logo">
        <img src="../assets/logo1.png" alt="公司logo">
        <p>门里集团</p>
      </div>
      <div class="img">
        <img src="../assets/lo1.png" alt="公司风景">
      </div>
      <div class="p">门里是中国西部著名的大型集团企业。自2003年创立以来，就矢志不渝地执着于高端文化产业和高品质…</div>
    </div>
    <div class="ziCompany" @click="goStyle">
      <div class="logo">
        <img src="../assets/logo2.png" alt="公司logo">
        <p>安琪儿医疗控股集团</p>
      </div>
      <div class="img">
        <img src="../assets/lo2.png" alt="公司风景">
      </div>
      <div class="p">安琪儿医疗（中国）控股集团，系安琪儿四位合伙创始人及新加坡淡马锡控股、美国红杉资本、泰康资…</div>
    </div>
    <div class="ziCompany" @click="goStyle">
      <div class="logo">
        <img src="../assets/logo3.png" alt="公司logo">
        <p>华康集团</p>
      </div>
      <div class="img">
        <img src="../assets/lo3.png" alt="公司风景">
      </div>
      <div class="p">华康集团有限公司我公司具体地址位于中国上海市徐汇区漕溪北路398号汇智大厦,欢迎各位新老客户来…</div>
    </div>
    <div class="ziCompany" @click="goStyle">
      <div class="logo">
        <img src="../assets/logo4.png" alt="公司logo">
        <p>大鼎城股份集团</p>
      </div>
      <div class="img">
        <img src="../assets/lo4.png" alt="公司风景">
      </div>
      <div class="p">大鼎城股份集团致力于文化地产、旅游地产、养生地产、航天旅游开发和综合管理，发源于中国沿海地…</div>
    </div>
    <div class="bottom">暂时没有更多了~</div>
  </div>
</template>

<script>
export default {
  name: 'Company',
  created: function setTitle () {
    document.title = '企业风采'
  },
  methods: {
    goStyle () {
      this.$router.push({name: 'Comstyle'})
    }
  }
}
</script>

<style lang="scss" scoped>
#company{
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  .ziCompany{
    height: 86.06vw;
    background-color: #fff;
    padding: 8.33vw 3.46vw;
    box-sizing: border-box;
    margin-top: 2.66vw;
    box-shadow:0px 2px 8px 0px rgba(0,0,0,0.16);
    .logo{
      display: flex;
      align-items: center;
      margin-bottom: 4vw;
      img{
        // display: inline;
        width: 9.06vw;
        height: 9.06vw;
      }
      p{
        margin-left: 4vw;
        font-size: 5.33vw;
        font-family: SourceHanSansCN-Bold;
        font-weight: bold;
      }
    }
    .img{
      height: 38.66vw;
      margin-bottom: 4vw;
      img{
        width: 100%;
        height: 100%;
      }
    }
    .p{
      height: 14vw;
      font-size: 4vw;
      font-family: SourceHanSansCN-Regular;
      font-weight: 400;
      color: rgba(104,104,104,1);
      line-height: 8vw;
      overflow:hidden;
      text-overflow:ellipsis;
      display:-webkit-box;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
    }
  }
  .bottom{
    width: 100%;
    height: 16.8vw;
    text-align: center;
    line-height: 16.8vw;
    font-size: 3.46vw;
    font-family: SourceHanSansCN-Regular;
    font-weight: 400;
    color: rgba(104,104,104,1);
  }
}
</style>
